package book;
//书架
//这些书本放到书架上，那么怎么去组织书架，放若干本书、
//解决方法：使用数组
public class BookList {

    private Book[] books  = new Book[10];

    private  int useSize;//有效的数据个数【实际的书的个数】

    public  BookList(){
        this.books[0] = new Book("三国演义","罗贯中",14,"小说");
        this.books[1] = new Book("西游记","吴承恩",50,"小说");
        this.books[2] = new Book("红楼梦","曹雪芹",40,"小说");
        this.useSize = 3;
    }
    //
}
